$(document).ready(function(){			
		 $.ajaxSetup({
				cache:false,
				dataFilter:function (data, type) {
					if(data.indexOf("isAllow")!=-1 && data.indexOf("permissonMsg")!=-1){
						var jsonData = jQuery.parseJSON(data);
						if( jsonData.isAllow == 0 ){
							$('#auth_tips').dialog('open');
							$("#auth_tips_content").html(jsonData.permissonMsg);
							closeLoading();
						}
						 
						return  false;
					}else{
						return data;
					}					
				}
			});
			
			$("#auth_tips").dialog({
				modal: true,
				zIndex: 9009,
				resizable: false,
				autoOpen: false,
		        show:"slide",
				buttons: {
					Ok: function() {
						$( this ).dialog("close");
					}
				}
			});
});